package com.tzy.user;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication // 开启组件扫描和自动配置
@EnableCaching
@EnableScheduling
@MapperScan("com.tzy.user.mapper")
public class UserApplication {

    public static void main(String[] args) {
        // 负责启动引导应用程序
        SpringApplication.run(UserApplication.class, args);
    }

}
